package com.csd.pojo;
// default package

import java.util.Date;


/**
 * @JavaBean Team
 * @author CSD
 * @version 1.1.1
 * @date 2009-12-16
 * @description 文档记录
 */

public  class DocumentRecord  implements java.io.Serializable {


    /**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	// Fields    
	/**数据库唯一标识*/
     private Integer id;
     /**对应的工程*/
     private Project project;
     /**文档名*/
     private String name;
     /**文档上传时间*/
     private Date time;
     /**文档大小*/
     private String size;
     /**文档路径*/
     private String path;
     /**文档上传时，工程所处阶段*/
     private String stage;


    // Constructors

    /** default constructor */
    public DocumentRecord() {
    }

    
    /** full constructor */
    public DocumentRecord(Project project, String name, Date time, String size, String path, String stage) {
        this.project = project;
        this.name = name;
        this.time = time;
        this.size = size;
        this.path = path;
        this.stage = stage;
    }

   
    // Property accessors

    public Integer getId() {
        return this.id;
    }
    
    public void setId(Integer id) {
        this.id = id;
    }

    public Project getProject() {
        return this.project;
    }
    
    public void setProject(Project project) {
        this.project = project;
    }

    public String getName() {
        return this.name;
    }
    
    public void setName(String name) {
        this.name = name;
    }

    public Date getTime() {
        return this.time;
    }
    
    public void setTime(Date time) {
        this.time = time;
    }

    public String getSize() {
        return this.size;
    }
    
    public void setSize(String size) {
        this.size = size;
    }

    public String getPath() {
    	System.out.println(this.path);
        return this.path;
    }
    
    public void setPath(String path) {
        this.path = path;
    }

    public String getStage() {
        return this.stage;
    }
    
    public void setStage(String stage) {
        this.stage = stage;
    }
   








}